package com.example.mr5.money.constant;/**
 * Created by Mr.5
 * Date：2016/9/11.
 * Time：23:00
 */

/**
 * Created by Mr.5
 * Date：2016/9/11.
 * Time：23:00
 */
public class Constant {
    public static final String TAG = "555log";

    private static final String VERSION = "2.00";

    public static int FLAG_HOME_FRAGMENT = 0;
    public static int FLAG_MYINCOME_FRAGMENT = 1;
    public static int FLAG_MYEXPENSE = 2;
    public static int FLAG_USER_DEFINED = 3;

    public static final String DATABASE_NAME = "money";

    public static final String DATABASE_INCOME_FIRST_TABLE_NAME = "income_first";
    public static final String DATABASE_INCOME_FIRST_TABLE_FIELD_ID = "_id";
    public static final String DATABASE_INCOME_FIRST_TABLE_FIELD_TITLE = "title";


    public static final String DATABASE_INCOME_SECOND_TABLE_NAME = "income_second";
    public static final String DATABASE_INCOME_SECOND_TABLE_FIELD_ID = "_id";
    public static final String DATABASE_INCOME_SECOND_TABLE_FIELD_TITLE = "title";
    public static final String DATABASE_INCOME_SECOND_TABLE_FIELD_FIRST_TITLE = "first_title";


    public static final String DATABASE_EXPENSE_FIRST_TABLE_NAME = "expense_first";
    public static final String DATABASE_EXPENSE_FIRST_TABLE_FIELD_ID = "_id";
    public static final String DATABASE_EXPENSE_FIRST_TABLE_FIELD_TITLE = "title";


    public static final String DATABASE_EXPENSE_SECOND_TABLE_NAME = "expense_second";
    public static final String DATABASE_EXPENSE_SECOND_TABLE_FIELD_ID = "_id";
    public static final String DATABASE_EXPENSE_SECOND_TABLE_FIELD_TITLE = "title";
    public static final String DATABASE_EXPENSE_SECOND_TABLE_FIELD_FIRST_TITLE = "first_title";

    public static final String DATABASE_INCOME_TABLE_NAME = "income";
    public static final String DATABASE_INCOME_TABLE_FIELD_ID = "_id";
    public static final String DATABASE_INCOME_TABLE_FIELD_MAIN_SOURCE = "main_source";
    public static final String DATABASE_INCOME_TABLE_FIELD_SUB_SOURCE = "sub_source";
    public static final String DATABASE_INCOME_TABLE_FIELD_HOW_MUCH = "how_much";
    public static final String DATABASE_INCOME_TABLE_FIELD_DATE = "date";

    public static final String DATABASE_EXPENSE_TABLE_NAME = "expense";
    public static final String DATABASE_EXPENSE_TABLE_FIELD_ID = "_id";
    public static final String DATABASE_EXPENSE_TABLE_FIELD_MAIN_SOURCE = "main_source";
    public static final String DATABASE_EXPENSE_TABLE_FIELD_SUB_SOURCE = "sub_source";
    public static final String DATABASE_EXPENSE_TABLE_FIELD_HOW_MUCH = "how_much";
    public static final String DATABASE_EXPENSE_TABLE_FIELD_DATE = "date";



    //快递查询记录
    public static final String DATABASE_EXPRESS_RECORD_TABLE_NAME = "express_record";
    public static final String DATABASE_EXPRESS_RECORD_TABLE_FIELD_ID = "_id";
    public static final String DATABASE_EXPRESS_RECORD_TABLE_FIELD_COMPANY = "company";
    public static final String DATABASE_EXPRESS_RECORD_TABLE_FIELD_NUMBER = "number";

}
